410922c58d486cf526a481b8a841a258eb986b4c,compiler/frontend/src/org/jetbrains/jet/lang/resolve/BindingContextUtils.java,BindingContextUtils,callableDescriptorToDeclaration,#BindingContext#CallableMemberDescriptor#,154
Before Change
@Nullable
public static PsiElement callableDescriptorToDeclaration(@NotNull BindingContext context, @NotNull CallableMemberDescriptor callable) {
if (callable.getKind() != CallableMemberDescriptor.Kind.DECLARATION) {
Set<? extends CallableMemberDescriptor> overriddenDescriptors = callable.getOverriddenDescriptors();
if (overriddenDescriptors.size() != 1) {
// TODO evil code
After Change
@Nullable
public static PsiElement callableDescriptorToDeclaration(@NotNull BindingContext context, @NotNull CallableMemberDescriptor callable) {
if (callable.getKind() == CallableMemberDescriptor.Kind.SYNTHESIZED) {
return null;
}